<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>项目管理系统</title>
	<link rel="stylesheet" href="static/css/bootstrap.min.css"/>
	<style type="text/css">
		body{
			background-image:url(static/img/bg.png);
		}
	
	</style>
</head>
<body class="body">
	
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="#">Kaishengit  PMS</a>			
			</div>
		
		</div>
	
	</div>
	<div class="container">
		
		<div class="row" style="margin-top:60px">
			<div class="span9">
				<div class="page-header">
				<h2>项目列表</h2>
				</div>
				
				<a href="project.jspx?m=add" class="btn btn-success">
					开始一个新项目
				</a>
		
				<c:if test="${ empty projectList }">还没有任何项目</c:if>
				<c:forEach items="${projectList }"  var="project">
				<ul class="breadcrumb" style="margin-top:40px;margin-bottom:0px">
					<li><a href="project.jspx?project_id=${project.id}">${project.name }</a></li>				
				</ul>
				<div style="border:1px solid #ccc; border-top:none;padding:15px;">
				<p>${project.describe }</p>
				</div>
				</c:forEach>
			</div>
		
		</div>
	
	
	</div>
</body>
</html>